package com.yuju.login.dao.mapper;

import java.util.List;
import java.util.Map;

import com.yuju.login.dao.entity.Employee;
import com.yuju.persist.base.mapper.BaseMapper;

public interface EmployeeMapper extends BaseMapper<Employee, String> {
    int deleteByPrimaryKey(String id);

    int selectCountByMap(Map<Object, Object> map);

    List<Employee> selectListByMap(Map<Object, Object> map);

    int insert(Employee record);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);
    
    int selectMaxEmpCode(String groupId);
    
    Employee getEmpInfo(String opId);
}